<!DOCTYPE html>
<html lang="en">

  <head>
   <include file ="Public/head"/> 
  </head>

  <body class="nav-md">
    <div class="container body">
      <div class="main_container">
        <div class="col-md-3 left_col">
            <include file ="Public/left"/>
        </div>
        <!-- top navigation -->
            <include file ="Public/head1"/>
        <!-- /top navigation -->



        <!-- 各自的模块在下面 -->
                <!-- page content -->
        <div class="right_col" role="main">
          <div class="">
            <div class="page-title">
              <div class="title_left">
                <h3> 约健6 <small> 比赛管理</small> </h3>
              </div>
              
 <form  method="post"  class="form-horizontal" action="{:U(search)}"  enctype="multipart/form-data" onsubmit="return check();" >
              <div class="title_right">
                <div class="col-md-5 col-sm-5 col-xs-12 form-group pull-right top_search">
                  <div class="input-group">
                    <input type="text" name="play_id" class="form-control" placeholder="搜索...">
                    <span class="input-group-btn">
                        <button class="btn btn-default" type="button">Go!</button>
                    </span>
                  </div>
                </div>
              </div>
            </div>
 <li><a href="addList"><i class="icon-edit"></i>发布</a></li>
   <div class="x_content">
 
                    <table id="datatable" class="table table-striped table-bordered">
                      <thead>
                        <tr>
                          <th>图片</th>
                          <th>编号</th>
                          <th>标题</th>
                          <th>网址</th>
                          <th>发布时间</th>
                          <th>操作</th>
                          
                        </tr>
                      </thead>


                      <tbody>
                   <volist name="play" id="vo">
                   <tr>
                     <td align="center"><img src="__PUBLIC__/pic/{$vo.play_pic}" width=85 alt="无头像"></td>
                     <td>{$vo.play_id}</td>
                     <td>{$vo.play_title}</td>
                     
                     <td>{$vo.play_url}</td>
                     <td>{$vo.play_time}</td>
                     <!-- <td>{$vo.finddate|substr=0,10}</td>
                     <td>{$vo.createtime|substr=0,10}</td> -->
                     
                      
                      
                      <td>
                         <div class="btn-group">
                        <a class="btn btn-small dropdown-toggle" data-toggle="dropdown" href="#">
                        Action
                          <span class="caret"></span>
                        </a>
                        <ul class="dropdown-menu pull-right">
                         
                         
                          <li><a href="alterplay/id/{$vo.play_id}"><i class="icon-edit"></i>修改</a></li>
                          <li><a href="delplay/play_id/{$vo.play_id}"><i class="icon-trash"></i>删除</a></li>
                        </ul>

                        <!-- <ul class="dropdown-menu pull-right">
                          <li><a href="#"><i class="icon-heart"></i>  <if condition="($vo.state eq 0)">
                                <a href="changestate/id/{$vo.id}/state/{$vo.state}"><i class="icon-bell-alt"></i>暂停使用</a>
                                <else/>
                                <a href="changestate/id/{$vo.id}/state/{$vo.state}"><i class="icon-bell"></i>取消禁用</a>
                                </if></a></li>
                          <li><a href="editpswd/id/{$vo.id}"><i class="icon-key"></i> 密码重置</a></li>
                          <li><a href="deluser/id/{$vo.id}"><i class="icon-trash"></i> 删除</a></li>
                        </ul> -->


                      </div>
                      </td>

                      <!-- substr取子串 -->
                      <!-- <td><if condition="($vo.state eq 0)"><a href="changestate/id/{$vo.id}/state/{$vo.state}">暂停使用</a><else/><a href="changestate/id/{$vo.id}/state/{$vo.state}">取消禁用</a></if>| -->
                      <!-- <a href="editpswd/id/{$vo.id}">密码重置</a>|<a href="deluser/id/{$vo.id}">删除</a> -->
                      <!-- <if condition="($vo.state eq 0)"><a href="changestate/id/{$vo.id}/state/1">暂停使用</a><else/><a href="changestate/id/{$vo.id}/state/0">取消禁用</a></if> -->
                      <!-- <a href="/diuba/index.php?m=admin&c=user&a=changestate&id=2&state=1">禁用</a> -->
                   </tr>
                   </volist>
                </tbody>
                    </table>
                    <div><center>{$page1}</center></div>
                  </div>
                </div>

          </div>
        </div>


        </div>

      </div>




    </div>
    <include file ="Public/js"/>
  </body>
</html>